package com.shyroke.daydayzhuandao.respository;

import com.shyroke.daydayzhuanapi.entity.ProjectEndEntity;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface ProjectEndRepository extends BaseRepository<ProjectEndEntity,Integer>{
    @Query(nativeQuery = true,value = "select * from project_end limit 1 ")
    ProjectEndEntity selectOne();
}
